package com.gtt.pattern.behavior.command;

/**
 * ConcreteCommand
 * 
 * @author 高甜甜(gao12581@sina.com)
 * @date 2011-4-2
 * 
 */
public class ConcreteCommand implements Command {

	private Receiver receiver;

	@Override
	public void execute() {
		receiver.action();
	}

	public void setReceiver(Receiver receiver) {
		this.receiver = receiver;
	}

}
